#pragma once
#include "Renderer.h"
namespace mini
{
	class CFrontRenderer : public CRenderer
	{
		friend class CRendererFactory;
		friend class CRendererEngine;
	private:
		CFrontRenderer(CDevice* pDevice);
		virtual void addUnit(CUnit* pUnit, CMaterialUnit* pMaterialUnit, EntityType Type, INT32 zLayer);
		virtual void commitToGpu() override;

	public:
		virtual ~CFrontRenderer();
	};
}
